home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-04d.zip / 04d / CHIP / Porady / Niewidoczny w sieci / TOR 0.1.2.7 / vidalia-bundle-0.1.2.7-alpha-0.0.10.exe / Torbutton / torbutton-1.0.4-fx+tb.xpi / chrome / torbutton.jar / content / preferences.xul < prev    next >
Extensible Markup Language  |  2006-06-02  |  6KB  |  120 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3.  
  4. <!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/torbutton.dtd">
  5.  
  6. <dialog id="torbutton-prefs"
  7.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.         xmlns:html="http://www.w3.org/1999/xhtml"
  9.         title="&torbutton.prefs.title;"
  10.         buttons="accept,cancel"
  11.         persist="screenX screenY"
  12.         onload="torbutton_prefs_init(document)"
  13.         ondialogaccept="torbutton_prefs_save(document)" >
  14.  
  15.     <script type="application/x-javascript" src="torbutton.js"/>
  16.     <script type="application/x-javascript" src="preferences.js"/>
  17.     <groupbox>
  18.         <caption label="&torbutton.prefs.display_settings;"/>
  19.         <checkbox id="torbutton_displayStatusPanel" label="&torbutton.prefs.display_panel;" 
  20.                   oncommand="torbutton_prefs_set_field_attributes(document)"/>
  21.         <label class="indent" control="torbutton_panelStyle" value="&torbutton.prefs.panel_format;"/>
  22.         <radiogroup class="indent" id="torbutton_panelStyle">
  23.             <radio value="text" id="torbutton_panelStyleText" label="&torbutton.prefs.panel_text_format;"/>
  24.             <radio value="iconic" id="torbutton_panelStyleIcon" label="&torbutton.prefs.panel_icon_format;"/>
  25.         </radiogroup>
  26.     </groupbox>
  27.     <groupbox>
  28.         <caption label="&torbutton.prefs.tor_settings;"/>
  29.         <radiogroup id="torbutton_settingsMethod">
  30.             <radio value="recommended" id="torbutton_useRecommendedSettings"
  31.                    label="&torbutton.prefs.recommended_settings;"
  32.                    oncommand="torbutton_prefs_set_field_attributes(document)"/>
  33.                 <checkbox class="indent" id="torbutton_usePrivoxy"
  34.                    label="&torbutton.prefs.use_privoxy;"
  35.                    oncommand="torbutton_prefs_set_field_attributes(document)"/>
  36.             <radio value="custom" id="torbutton_useCustomSettings"
  37.                    label="&torbutton.prefs.custom_settings;"
  38.                    oncommand="torbutton_prefs_set_field_attributes(document)"/>
  39. <!--
  40.         <checkbox id="torbutton_useRecommendedSettings" label="&torbutton.prefs.recommended_settings;"
  41.                   oncommand="torbutton_prefs_set_field_attributes(document)"/>
  42. -->
  43.                 <grid class="indent" flex="1">
  44.                     <columns>
  45.                     <column/>
  46.                     <column flex="1"/>
  47.                 </columns>
  48.                 <rows>
  49.                     <row align="center">
  50.                         <hbox align="center" pack="end">
  51.                             <label value="&torbutton.prefs.proxy.host.http;" control="torbutton_httpProxy"/>
  52.                         </hbox>
  53.                         <hbox align="center">
  54.                             <textbox id="torbutton_httpProxy" preftype="string" flex="1"/>
  55.                             <label value="&torbutton.prefs.proxy.port;" control="torbutton_httpPort"/>
  56.                             <textbox id="torbutton_httpPort" size="5"/>
  57.                         </hbox>
  58.                     </row>
  59.                     <row align="center">
  60.                         <hbox align="center" pack="end">
  61.                             <label value="&torbutton.prefs.proxy.host.https;" control="torbutton_httpsProxy"/>
  62.                         </hbox>
  63.                         <hbox align="center">
  64.                             <textbox id="torbutton_httpsProxy" preftype="string" flex="1"/>
  65.                             <label value="&torbutton.prefs.proxy.port;" control="torbutton_httpsPort"/>
  66.                             <textbox id="torbutton_httpsPort" size="5"/>
  67.                         </hbox>
  68.                     </row>
  69.                     <row align="center">
  70.                         <hbox align="center" pack="end">
  71.                             <label value="&torbutton.prefs.proxy.host.ftp;" control="torbutton_ftpProxy"/>
  72.                         </hbox>
  73.                         <hbox align="center">
  74.                             <textbox id="torbutton_ftpProxy" preftype="string" flex="1"/>
  75.                             <label value="&torbutton.prefs.proxy.port;" control="torbutton_ftpPort"/>
  76.                             <textbox id="torbutton_ftpPort" size="5"/>
  77.                         </hbox>
  78.                     </row>
  79.                     <row align="center">
  80.                         <hbox align="center" pack="end">
  81.                             <label value="&torbutton.prefs.proxy.host.gopher;" control="torbutton_gopherProxy"/>
  82.                         </hbox>
  83.                         <hbox align="center">
  84.                             <textbox id="torbutton_gopherProxy" preftype="string" flex="1"/>
  85.                             <label value="&torbutton.prefs.proxy.port;" control="torbutton_gopherPort"/>
  86.                             <textbox id="torbutton_gopherPort" size="5"/>
  87.                         </hbox>
  88.                     </row>
  89.                     <row align="center">
  90.                         <hbox align="center" pack="end">
  91.                             <label value="&torbutton.prefs.proxy.host.socks;" control="torbutton_socksHost"/>
  92.                         </hbox>
  93.                         <hbox align="center">
  94.                             <textbox id="torbutton_socksHost" flex="1"/>
  95.                             <label value="&torbutton.prefs.proxy.port;" control="torbutton_socksPort"/>
  96.                             <textbox id="torbutton_socksPort" size="5"/>
  97.                         </hbox>
  98.                     </row>
  99.                 </rows>
  100.             </grid>
  101.         </radiogroup>
  102. <!--
  103.         <label value="&torbutton.prefs.non_socks;" control="nonsocks_proxy"/>
  104.         <textbox id="nonsocks_proxy"/>
  105.         <label value="&torbutton.prefs.port;" control="nonsocks_port"/>
  106.         <textbox id="nonsocks_port"/>
  107.         <label value="&torbutton.prefs.socks;" control="socks_host"/>
  108.         <textbox id="socks_host"/>
  109.         <label value="&torbutton.prefs.port;" control="socks_port"/>
  110.         <textbox id="socks_port"/>
  111. -->
  112.     </groupbox>
  113. <!--
  114.     <checkbox id="torbutton_warnUponExcludedSite" label="&torbutton.prefs.prompt_before_visiting_excluded_sites;" />
  115.     <description>
  116.         <textnode value="&torbutton.prefs.warning_explanation;"/>
  117.     </description>
  118. -->
  119. </dialog>
  120.